package grape.attend.rest.user.mapper;

import grape.attend.rest.user.form.UserClockListPageForm;
import grape.attend.rest.user.form.UserClockOffClockForm;
import grape.attend.rest.user.form.UserClockOnClockForm;
import grape.attend.rest.user.vo.UserClockVo;
import grape.attend.service.user.po.UserClock;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 用户打卡表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-05-18
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface UserClockWebMapper extends WebMapper<UserClockVo, UserClock> {

    UserClock formToPo(UserClockOnClockForm f);
    UserClock formToPo(UserClockListPageForm f);
    UserClock formToPo(UserClockOffClockForm f);
}
